package com.xiaogao.serviceEdu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 小高
 * @createtime 2021-05-29-20:01
 * @description
 */
//@MapperScan // 开启mapper扫面，建议创建配置类，在配置类里面配置
@SpringBootApplication
@ComponentScan(basePackages = {"com.xiaogao"}) // 扫描com.xiaogao包下的配置（即扫面service_edu和service_base项目下的com.xiaogao）
@EnableDiscoveryClient // 开启nacos服务
@EnableFeignClients // 开启feign服务
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
